// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------


import request from "@/utils/request.js";

/* 获取银行卡详情 */
export function bankcardDetail(data) {
	return request.get("v2/user/bank_card/info", data, {
		login: true
	});
}

/* 新增银行卡 */
export function addBankcard(data) {
	return request.post("v2/user/bank_card/create", data, {
		login: true
	});
}

/* 编辑银行卡 */
export function editBankcard(data) {
	return request.post("v2/user/bank_card/edit", data, {
		login: true
	});
}